package com.ywqf_api.dto.exc;

import com.ywqf_api.base.BaseAPIExcution;
import com.ywqf_api.enums.EstatePayAppEnum;

public class EstatePayAppExcution extends BaseAPIExcution {
    public EstatePayAppExcution(EstatePayAppEnum estatePayAppEnum, Object data){
        this.code = estatePayAppEnum.getCode();
        this.data = data;
        this.message = estatePayAppEnum.getMessage();
    }
    public EstatePayAppExcution(EstatePayAppEnum estatePayAppEnum){
        this.code = estatePayAppEnum.getCode();
        this.message = estatePayAppEnum.getMessage();
    }
}
